assignment(=) Interface

public interface assignment(=)

Module Procedures

private subroutine csr_assign_to_dense(dense, sparse)

Assigns the values of a CSR matrix to a dense matrix.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(out), dimension(:,:) :: dense

The dense matrix.

class(csr_matrix), intent(in) :: sparse

The CSR matrix.

private subroutine dense_assign_to_csr(sparse, dense)

Assigns the values of a dense matrix to a CSR matrix.

Arguments

Type IntentOptional Attributes Name
type(csr_matrix), intent(out) :: sparse

The CSR matrix.

real(kind=real64), intent(in), dimension(:,:) :: dense

The dense matrix.

private subroutine msr_assign_to_dense(dense, msr)

Assigns an MSR matrix to a dense matrix.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(out), dimension(:,:) :: dense

The dense matrix.

class(msr_matrix), intent(in) :: msr

The MSR matrix.

private subroutine dense_assign_to_msr(msr, dense)

Assigns a dense matrix to an MSR matrix.

Arguments

Type IntentOptional Attributes Name
type(msr_matrix), intent(out) :: msr

The MSR matrix.

real(kind=real64), intent(in), dimension(:,:) :: dense

The dense matrix.

private subroutine csr_assign_to_msr(msr, csr)

Assigns a CSR matrix to an MSR matrix.

Arguments

Type IntentOptional Attributes Name
type(msr_matrix), intent(out) :: msr

The MSR matrix.

class(csr_matrix), intent(in) :: csr

The CSR matrix.

private subroutine msr_assign_to_csr(csr, msr)

Assigns an MSR matrix to a CSR matrix.

Arguments

Type IntentOptional Attributes Name
type(csr_matrix), intent(out) :: csr

The CSR matrix.

class(msr_matrix), intent(in) :: msr

The MSR matrix.